package com.ccrfid.rmc6.repository.business.visitroom;

import com.ccrfid.rmc6.entity.business.visitroom.RoomVisitRuleEntity;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface RoomVisitRuleRepository extends Repository<RoomVisitRuleEntity, Long> {
    //
    List<RoomVisitRuleEntity> getAllBy();
    //
    RoomVisitRuleEntity getById(Long id);
    //
    boolean existsById(Long id);
    //
    RoomVisitRuleEntity save(RoomVisitRuleEntity entity);
}
